package com.sun.apply;

import java.util.regex.Matcher;
import java.util.regex.Pattern;

public class PhoneReg {
    public static void main(String[] args) {
        String phoneReg = "^1[3-9]\\d{9}";
        String phone = "11542556627";
        Matcher matcher = Pattern.compile(phoneReg).matcher(phone);
        boolean matches = matcher.matches();
        System.out.println(matches);
    }
}
